package com.dyj.applet.domain;

/**
 * 酒店设施
 * @author danmo
 * @date 2024-04-28 14:03
 **/
public class SupplierHotelFacilitie
{
    /**
     * 设施/服务code,
     * -1代表自定义。
     * 1 - 空调;
     * 2 - 电视;
     * 3 - 阳台;
     * 4 - 窗户;
     * 5 - 独立卫浴;
     * 6 - 浴缸;
     * 7 - 吹风机;
     * 8 - 衣架;
     * 9 - 热水;
     * 10 - 洗衣机;
     * 11 - 基本厨具;
     * 12 - 冰箱;
     * 13 - 免费Wifi;
     * 14 - 电热水壶;
     * 15 - 暖气;
     * 16 - 智能马桶;
     * 17 - 微波炉;
     * 18 - 门禁系统;
     * 19 - 智能门锁;
     * 20 - 私家花园;
     * 21 - 私家泳池;
     * 22 - 观景露台;
     * 23 - 免费停车;
     * 24 - 行李寄存;
     */
    private String code;
    /**
     * 设施/服务名称, code与name不匹配时，code生效。
     * 自定义项目不超过5个汉字
     */
    private String name;

    public static SupplierHotelFacilitieBuilder builder()
    {
        return new SupplierHotelFacilitieBuilder();
    }

    public static class SupplierHotelFacilitieBuilder
    {
        private String code;
        private String name;
        public SupplierHotelFacilitieBuilder code(String code)
        {
            this.code = code;
            return this;
        }
        public SupplierHotelFacilitieBuilder name(String name)
        {
            this.name = name;
            return this;
        }
        public SupplierHotelFacilitie build()
        {
            SupplierHotelFacilitie supplierHotelFacilitie = new SupplierHotelFacilitie();
            supplierHotelFacilitie.setCode(code);
            supplierHotelFacilitie.setName(name);
            return supplierHotelFacilitie;
        }
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
